package com.example.demo.qy.model;

import com.example.demo.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "weather_future")
public class WeatherFuture extends BaseEntity {

    @ApiModelProperty(value = "日期")
    private String date;
    @ApiModelProperty(value = "白天天气")
    private String dayTime;
    @ApiModelProperty(value = "晚间天气")
    private String night;
    @ApiModelProperty(value = "温度")
    private String temperature;
    @ApiModelProperty(value = "星期")
    private String week;
    @ApiModelProperty(value = "风向")
    private String wind;

    @ManyToOne
    private Weather weather;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDayTime() {
        return dayTime;
    }

    public void setDayTime(String dayTime) {
        this.dayTime = dayTime;
    }

    public String getNight() {
        return night;
    }

    public void setNight(String night) {
        this.night = night;
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public String getWind() {
        return wind;
    }

    public void setWind(String wind) {
        this.wind = wind;
    }
}
